﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="验证码.aspx.cs" Inherits="ProjectStudy.验证码" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>

    <script type="text/javascript">
       
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    <img id="Img1" src="Captcha.ashx?codelength=8" alt=""  onclick="javasrcipt: this.src='Captcha.ashx?codelength=8&&id='+Math.random()" runat="server" />
    <br />
    <br />
    <asp:Button ID="btn1" runat="server" Text="验证" onclick="btn1_Click" />
    <br />
    <br />
    <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
    </form>
</body>
</html>
